/* 
 * File:   predicates.h
 * Author: gustavo
 *
 * Created on September 5, 2011, 5:41 AM
 */

#ifndef PREDICATES_H
#define	PREDICATES_H

#ifdef	__cplusplus
extern "C" {
#endif
	
	real _area2(real * pa, real * pb, real * pc);
	real _area(real * pa, real * pb, real * pc);

	real _orient2d(real * pa, real * pb, real * pc);
	real _in_circle(real * pa, real * pb, real * pc, real * pd);
	boolean _in_rect(real * pa, real * pb, real * pc);

#ifdef	__cplusplus
}
#endif

#endif	/* PREDICATES_H */

